package com.yuanfeng.payment.feign;

import com.yuanfeng.commoms.dto.order.WapGoodsSaleSumDTO;
import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author Stranger
 * @date 2023/4/12 10:46
 */
@FeignClient(name = "mall-goods", url = "http://localhost:8083")
public interface GoodServiceClient {


    @PostMapping("/goods/common/update/goodsSalenum")
    ResponseResult updateGoodsSalenum(@RequestBody List<WapGoodsSaleSumDTO> wapGood);
}
